import {message} from "antd";

export const success = () => {
    message.success('成功',1);
};

export const error = () => {
    message.error('失败',1);
};

export const warn = () => {
    message.warn('This is an error message',1);
};
